/**
 * com.cnhis.his.customer.mapper.Abu1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Abu1.java
 * @author 刘武
 * @version 0.1
 * @todo	Abu1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-24 07:22:06
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Abu1 extends BaseVO implements java.io.Serializable{

	private java.lang.String abu01;
	private java.lang.String abu02;
	private java.lang.String abu03;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	private java.lang.String abu01a;
	private java.lang.Integer lvlnr;
	private java.lang.Byte enabl;
	private java.lang.String abu09;
	private java.lang.String abu10;
	private java.lang.Byte isdef;
	public Abu1(){
	}

	public Abu1(
		java.lang.String abu01
	){
		this.abu01 = abu01;
	}



	public void setAbu01(java.lang.String value) {
		this.abu01 = value;
	}	
	public java.lang.String getAbu01() {
		return this.abu01;
	}

	public void setAbu02(java.lang.String value) {
		this.abu02 = value;
	}	
	public java.lang.String getAbu02() {
		return this.abu02;
	}

	public void setAbu03(java.lang.String value) {
		this.abu03 = value;
	}	
	public java.lang.String getAbu03() {
		return this.abu03;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}

	public void setAbu01a(java.lang.String value) {
		this.abu01a = value;
	}	
	public java.lang.String getAbu01a() {
		return this.abu01a;
	}

	public void setLvlnr(java.lang.Integer value) {
		this.lvlnr = value;
	}	
	public java.lang.Integer getLvlnr() {
		return this.lvlnr;
	}

	public void setEnabl(java.lang.Byte value) {
		this.enabl = value;
	}	
	public java.lang.Byte getEnabl() {
		return this.enabl;
	}

	public void setAbu09(java.lang.String value) {
		this.abu09 = value;
	}	
	public java.lang.String getAbu09() {
		return this.abu09;
	}

	public void setAbu10(java.lang.String value) {
		this.abu10 = value;
	}	
	public java.lang.String getAbu10() {
		return this.abu10;
	}

	public void setIsdef(java.lang.Byte value) {
		this.isdef = value;
	}	
	public java.lang.Byte getIsdef() {
		return this.isdef;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Abu01").append("='").append(getAbu01()).append("' ");	
			   buffer.append("Abu02").append("='").append(getAbu02()).append("' ");	
			   buffer.append("Abu03").append("='").append(getAbu03()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
			   buffer.append("Abu01a").append("='").append(getAbu01a()).append("' ");	
			   buffer.append("Lvlnr").append("='").append(getLvlnr()).append("' ");	
			   buffer.append("Enabl").append("='").append(getEnabl()).append("' ");	
			   buffer.append("Abu09").append("='").append(getAbu09()).append("' ");	
			   buffer.append("Abu10").append("='").append(getAbu10()).append("' ");	
			   buffer.append("Isdef").append("='").append(getIsdef()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Abu1) ) return false;
		 Abu1  castOther = ( Abu1) other;  
		 return 
					( (this.getAbu01()==castOther.getAbu01()) ||( this.getAbu01()!=null && castOther.getAbu01()!=null && this.getAbu01().equals(castOther.getAbu01()) ) )
					&&( (this.getAbu02()==castOther.getAbu02()) ||( this.getAbu02()!=null && castOther.getAbu02()!=null && this.getAbu02().equals(castOther.getAbu02()) ) )
					&&( (this.getAbu03()==castOther.getAbu03()) ||( this.getAbu03()!=null && castOther.getAbu03()!=null && this.getAbu03().equals(castOther.getAbu03()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
					&&( (this.getAbu01a()==castOther.getAbu01a()) ||( this.getAbu01a()!=null && castOther.getAbu01a()!=null && this.getAbu01a().equals(castOther.getAbu01a()) ) )
					&&( (this.getLvlnr()==castOther.getLvlnr()) ||( this.getLvlnr()!=null && castOther.getLvlnr()!=null && this.getLvlnr().equals(castOther.getLvlnr()) ) )
					&&( (this.getEnabl()==castOther.getEnabl()) ||( this.getEnabl()!=null && castOther.getEnabl()!=null && this.getEnabl().equals(castOther.getEnabl()) ) )
					&&( (this.getAbu09()==castOther.getAbu09()) ||( this.getAbu09()!=null && castOther.getAbu09()!=null && this.getAbu09().equals(castOther.getAbu09()) ) )
					&&( (this.getAbu10()==castOther.getAbu10()) ||( this.getAbu10()!=null && castOther.getAbu10()!=null && this.getAbu10().equals(castOther.getAbu10()) ) )
					&&( (this.getIsdef()==castOther.getIsdef()) ||( this.getIsdef()!=null && castOther.getIsdef()!=null && this.getIsdef().equals(castOther.getIsdef()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAbu01() == null ? 0 : this.getAbu01().hashCode() );
				  result = 37 * result + (getAbu02() == null ? 0 : this.getAbu02().hashCode() );
				  result = 37 * result + (getAbu03() == null ? 0 : this.getAbu03().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
				  result = 37 * result + (getAbu01a() == null ? 0 : this.getAbu01a().hashCode() );
				  result = 37 * result + (getLvlnr() == null ? 0 : this.getLvlnr().hashCode() );
				  result = 37 * result + (getEnabl() == null ? 0 : this.getEnabl().hashCode() );
				  result = 37 * result + (getAbu09() == null ? 0 : this.getAbu09().hashCode() );
				  result = 37 * result + (getAbu10() == null ? 0 : this.getAbu10().hashCode() );
				  result = 37 * result + (getIsdef() == null ? 0 : this.getIsdef().hashCode() );
         return result;
	} 
	
}
